package com.tj.collection.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2019-09-03
 * Time: 16:17
 */
public enum AllocationStatusEnum {

    INIT(0, "初始化"),
    COLLECTING(1, "处理中"),
    COLLECTION_END(2, "处理完成"),
    TRANSFERRED(3, "已流转"),
    INVALID(4, "失效");

    private Integer status;

    private String desc;

    AllocationStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public AllocationStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public AllocationStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }

}
